package com.moliku.insurance.model.entity.eastSea.submit;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.io.Serializable;

/**
 * @author 七分
 * @version 1.0
 * @date 2021/3/15 10:05
 * @effect 东海保险责任
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
@XmlType(name = "ProposalEargoItemKind", propOrder = {
        "sumInsured",
        "flag",
        "kindCode",
        "kindName",
        "rate",
        "liabCode",
        "liabName",
        "calculateInt",
        "grossPremium",
        "deductibleAmount",
        "deductibleRate",
        "tax",
        "taxPremium"
})
public class ProposalEargoItemKind implements Serializable {

    private static final long serialVersionUID = 6448202675185503960L;
    /**
     * 保额/限额
     */
    @XmlElement(required = true, name = "sumInsured")
    private String sumInsured;

    /**
     * 主险附加险标志  1主险 2附加险
     */
    @XmlElement(required = true, name = "flag")
    private String flag;

    /**
     * 险别代码
     */
    @XmlElement(required = true, name = "kindCode")
    private String kindCode;

    /**
     * 险别名称
     */
    @XmlElement(required = true, name = "kindName")
    private String kindName;

    /**
     * 费率
     */
    @XmlElement(required = true, name = "rate")
    private String rate;

    /**
     * 责任代码
     */
    @XmlElement(required = true, name = "liabCode")
    private String liabCode;

    /**
     * 责任名称
     */
    @XmlElement(required = true, name = "liabName")
    private String liabName;

    /**
     * 计入保额 1 计入 0不计入
     */
    @XmlElement(required = false, name = "calculateInt")
    private String calculateInt;

    /**
     * 保费
     */
    @XmlElement(required = false, name = "grossPremium")
    private String grossPremium;

    /**
     * 免赔额
     */
    @XmlElement(required = false, name = "deductibleAmount")
    private String deductibleAmount;
    /**
     * 免赔率
     */
    @XmlElement(required = false, name = "deductibleRate")
    private String deductibleRate;

    /**
     * 税额
     */
    @XmlElement(required = false, name = "tax")
    private String tax;

    /**
     * 不含税额
     */
    @XmlElement(required = false, name = "taxPremium")
    private String taxPremium;

}
